<?php

function printRatingDetails($rating)
{
	$to = UserManager::GetUser( $rating->to_user );
	$by = UserManager::GetUser( $rating->by_user );
	$c = a2o('TemplateLoader', array('Module' => 'SocioRating', 'Template' => 'templates/ratingdetails.tpl', 
		'to' => $to, 'by' => $by, 'rating' => $rating));
	$c->Render();
}